package per.xue.carid_booking.entity;


import javax.persistence.*;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2021-05-22
 */
@Data
@ApiModel(value="station")
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "station")
public class Station implements Serializable {



    /**
     * 车站id
     */
    
        @Id
        @GeneratedValue(strategy = GenerationType.IDENTITY)
        @Column(name = "stationId")
                @ApiModelProperty(value = "车站id",name = "stationId",dataType = "Integer")
        private Integer stationId;

    /**
     * 车站名
     */
    @Column(name = "station_name")
        @ApiModelProperty(value = "车站名",name = "stationName",dataType = "String")
        private String stationName;


}


